package com.easpeed.comon.consts

/**
 * Created by bigyu on 2025-01-24 14:16
 * com.easpeed.comon.consts
 */
object ConstsApi {

    var isShowSocketLog = false

    var socketData = ""

    //测试
//    const val httpHost = "http://8.152.193.204:40042"
    //正式
    const val httpHost = "http://101.132.178.95:11504"



    /*socket相关配置*/
    //测试
//    const val socketHost = "123.249.103.198"
//    const val socketPort = 40009

    //生产
    const val socketHost = "101.132.178.95"
    const val socketPort = 58004

    const val api_version = "${httpHost}/optical/app/version/%s"
    const val api_login = "${httpHost}/optical/login/app"

    const val api_createLine = "${httpHost}/optical/line/add"
    const val api_lineList = "${httpHost}/optical/line/selectd"
    const val api_delete = "${httpHost}/optical/line/delete/%s"
    const val api_updateLine = "${httpHost}/optical/line/update"

    const val api_createOptical = "${httpHost}/optical/optical/add"
    const val api_lineOptical = "${httpHost}/optical/optical/selectd"
    const val api_deleteOptical = "${httpHost}/optical/optical/delete/%s"
    const val api_updateOptical = "${httpHost}/optical/optical/update"
    const val api_detailOptical = "${httpHost}/optical/optical/info/%s"

    const val api_createRecord = "${httpHost}/optical/record/add"
    const val api_deleteRecord = "${httpHost}/optical/record/delete/%s"
    const val api_listRecord = "${httpHost}/optical/record/list/%s"
    const val api_updateRecord = "${httpHost}/optical/record/update"
    const val api_uploadLocation = "${httpHost}/optical/device/flush/location"

    const val api_fileUpload = "${httpHost}/optical/file/upload"
    const val api_waveLength = "${httpHost}/optical/device/selected/wavelength"

}